package com.ruoyi.exam.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.exam.domain.ExamQuestionTag;
import com.ruoyi.exam.vo.ExamQuestionTagVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 题目标签Mapper接口
 *
 * @author Tellsea
 * @date 2025-05-30
 */
public interface ExamQuestionTagMapper extends BaseMapper<ExamQuestionTag> {

    Page<ExamQuestionTagVo> queryList(Page<?> page, @Param("entity") ExamQuestionTagVo entity);

    List<ExamQuestionTagVo> queryList(@Param("entity") ExamQuestionTagVo entity);

    ExamQuestionTagVo queryById(@Param("id") Long tagId);

}
